package net.expectx.pay.merchant.controller;

import java.math.BigDecimal;

/**
 * 今日交易统计
 */
public class TradeStatisticsVO {
    /**
     * 订单类型
     */
    private String orderType;
    /**
     * 支付通道
     */
    private String channelPayway;
    /**
     * 笔数
     */
    private Long sum;
    /**
     * 订单金额
     */
    private BigDecimal grandTotal;
    /**
     * 成功笔数
     */
    private Long successSum;
    /**
     * 成功金额
     */
    private BigDecimal successTotal;
    /**
     * 手续费
     */
    private BigDecimal serviceFee;



    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getChannelPayway() {
        return channelPayway;
    }

    public void setChannelPayway(String channelPayway) {
        this.channelPayway = channelPayway;
    }

    public Long getSum() {
        return sum;
    }

    public void setSum(Long sum) {
        this.sum = sum;
    }

    public BigDecimal getGrandTotal() {
        return grandTotal;
    }

    public void setGrandTotal(BigDecimal grandTotal) {
        this.grandTotal = grandTotal;
    }

    public Long getSuccessSum() {
        return successSum;
    }

    public void setSuccessSum(Long successSum) {
        this.successSum = successSum;
    }

    public BigDecimal getSuccessTotal() {
        return successTotal;
    }

    public void setSuccessTotal(BigDecimal successTotal) {
        this.successTotal = successTotal;
    }

    public BigDecimal getServiceFee() {
        return serviceFee;
    }

    public void setServiceFee(BigDecimal serviceFee) {
        this.serviceFee = serviceFee;
    }

    public TradeStatisticsVO(String orderType, String channelPayway, Long sum, BigDecimal grandTotal, Long successSum, BigDecimal successTotal, BigDecimal serviceFee) {
        this.orderType = orderType;
        this.channelPayway = channelPayway;
        this.sum = sum;
        this.grandTotal = grandTotal;
        this.successSum = successSum;
        this.successTotal = successTotal;
        this.serviceFee = serviceFee;
    }

    @Override
    public String toString() {
        return "TradeStatisticsVO{" +
                "orderType='" + orderType + '\'' +
                ", channelPayway='" + channelPayway + '\'' +
                ", sum=" + sum +
                ", grandTotal=" + grandTotal +
                ", successSum=" + successSum +
                ", successTotal=" + successTotal +
                ", serviceFee=" + serviceFee +
                '}';
    }
}
